set fileupdate=\\ms\users\!EDI\files\edi-svc-null.rar 
set pathSoft=c:\Automate\soft

net stop EDIService
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u EDIService.exe 

Echo Wait pause 10 sec
ping -n 10 127.0.0.1 > NUL
Echo Updater is starting
md %pathSoft%\SVC
%pathSoft%\Rar.exe e -y %fileupdate% %pathSoft%\svc
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe EDIService.exe 
net start EDIService
ping -n 10 127.0.0.1 > NUL